package cn.nebula.music.dao;

import java.sql.Date;
import java.util.Set;

import org.springframework.stereotype.Repository;

import cn.nebula.music.domain.Singer;

@Repository
public interface SingerDAO {
	public Set<Singer> findAllSingers();

	public Set<Singer> findAllSingersOfBT();

	public Set<Singer> findAllSingersWP();

	public Singer findSingerById(Integer id);

	public Set<Singer> findSingersByChinesename(String chinesename);

	public Set<Singer> findSingersByForeignname(String foreignname);

	public Set<Singer> findSingersByAlias(String alias);

	public Set<Singer> findSingersByConstellation(String constellation);

	public Set<Singer> findSingersByBirthday(Date birthday);

	public Set<Singer> findSingersByHeat(Integer heat);

	public Integer addSinger(Singer singer);

	public Integer updateSinger(Singer singer);

	public Integer deleteSingerById(Integer id);
}
